/** * * Auction Nudge * https://www.auctionnudge.com * * By Joseph Hawes * http://www.josephhawes.co.uk * */ function AN_Item_JS(){var AN=null;var h=null;var re=null;var rp={};var cid=null;var c=null;var lj=null;var mp=null;this.i=function(eid){AN=this;AN.h=document.getElementsByTagName('head')[0];AN.cid=eid;AN.re='https://motorcycle-parts.ca/?an_tool_key=item&an_request=';AN.l(window,'load',AN.r);} this.r=function(){if(typeof window.AN_Item_ready=='function'){AN_Item_ready();}} this.ath=function(html){AN.c=document.getElementById(AN.cid);AN.c.className+=' theme-'+AN.rp.theme;AN.c.innerHTML=html;AN.iw=document.getElementById('an-item-wrap');} this.srp=function(p){AN.rp=p;} this.aih=function(html){AN.iw.innerHTML=html;} this.ce=function(type,attr,content){var e=document.createElement(type);for(key in attr){e.setAttribute(key,attr[key]);} if(content){if(typeof content=='object'){e.appendChild(content);}else{e.innerHTML=content;}} return e;} this.l=function(e,event,callback){switch(event){case'load':if(typeof e.addEventListener!="undefined"){e.addEventListener("load",callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent("onload",callback);}else{if(e.onload!=null){var oo=e.onload;e.onload=function(e){oo(e);e[callback]();};}else{e.onload=callback;}} break;default:if(typeof e.addEventListener!="undefined"){e.addEventListener(event,callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent('on'+event,callback);} break;}} this.aa=function(type,url){var et='';switch(type){case'css':et='link';var attr={'type':'text/css','rel':'stylesheet','href':url};break;case'js':et='script';var attr={'type':'text/javascript','src':url};break;} AN.h.appendChild(AN.ce(et,attr,''));} this.ri=function(){AN.sl(true);var request=AN.br();AN.pr(request);} this.br=function(){AN.rp.action='update';var request=AN.re;for(key in AN.rp){request+='/'+key+'/'+AN.rp[key];} return request;} this.pr=function(request){if(AN.lj){AN.h.removeChild(AN.lj);} var attr={'type':'text/javascript','src':request};var aj=AN.ce('script',attr,'');AN.h.appendChild(aj);AN.lj=aj;} this.rc=function(){if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}} this.uc=function(psp,psn){if(typeof AN.up=='function'){AN.up(psp,psn);} if(typeof window.an_item_resize=='function'){an_item_resize();} if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}} this.sl=function(loading){if(loading){AN.c.className+=' an-loading';}else{AN.c.className=AN.c.className.replace(/( )?an-loading/g,'');}} this.sc=function(type){AN.c.className+=' an-cats';AN.cn=document.getElementById('an-cats-nav');if(!AN.cn){return false;} switch(type){case'dropdown':var cts=AN.cn.getElementsByTagName('option');for(i=0;i/g,'');AN.rp.keyword=AN.encode_str(keyword);}else{delete AN.rp.keyword;} AN.rp.page=1;delete AN.mp;AN.ri();}}var AN_Item=new AN_Item_JS();AN_Item.i('auction-nudge-items');function AN_Item_ready(){AN_Item.srp({"action":"init","theme":"responsive","page":false,"img_size":"120","cats_output":"dropdown","search_box":"1","blank":"0","show_logo":"1","lang":"english","SellerID":"supersportmoto","siteid":"2","MaxEntries":"8"});if(location.host.indexOf('ebay')!=-1||location.host.indexOf('paypal')!=-1){AN_Item.ath('

Auction Nudge Error
Your items can not load because the website hostname contains a disallowed keyword.

');}else{AN_Item.ath('
Search items...
Search
eBay Listings from Auction Nudge
');AN_Item.aih('
C $20.00
Time Left:1d 22h 42m
C $125.00
Time Left:1d 22h 42m
C $250.00
Time Left:1d 23h 22m
C $165.00
Time Left:2d 1h 36m
C $165.00
Time Left:2d 1h 41m
C $165.00
Time Left:2d 1h 42m
C $150.00
Time Left:2d 2h 4m
C $109.80
Time Left:3d 22h 18m
');AN_Item.sc('dropdown');AN_Item.ss();AN_Item.aa('css','//assets-auctionnudge.s3.amazonaws.com/feed/item/css/responsive-080818.gz.css');AN_Item.aa('js','//assets-auctionnudge.s3.amazonaws.com/feed/item/js/responsive-080317.gz.js');AN_Item.rc();}}